package LeeJS.oop;

public abstract class J31_RetangleService implements J31_RatangleInterface{
	
	public float getArea(J31_RatangleVO rvo){
		
		return rvo.getWidth() * rvo.getHeight();
		
	}
	
	public float getPrimeter(J31_RatangleVO rvo){
		
		return rvo.getWidth() * 2 + rvo.getHeight() * 2; 
		
	}
	
}
